package com.woniuxy.bank_a.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: 15489  <br/>
 * Date: 2022/4/1:10:52  <br/>
 * Description:
 */

@FeignClient(name = "BANK-B")
public interface BankbService {

    @GetMapping("/bankb/start/{id}/{money}")
    public boolean start(@PathVariable("id")int id, @PathVariable("money") int money);
}
